package edu.hunau.cxb19.oop.class32.tcp.v1;

import java.net.ServerSocket;
import java.net.Socket;

/**
 *
 * @author hb
 *
 *         2020-04-21 15:34:12
 */
public class ServerSocketTest {
	public static void main(String[] args) throws Exception {
		ServerSocket server = new ServerSocket(8088);
		System.out.println("服务端启动");
		Socket socket = server.accept();
		System.out.println("和客户端连接成功....");
	}
}